package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.Area;
import com.yami.shop.bean.model.YidianNotify;
import com.yami.shop.dao.AreaMapper;
import com.yami.shop.dao.YidianNotifyMapper;
import com.yami.shop.service.YidianNotifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jjh
 * @since 2023-10-23
 */
@Service
public class YidianNotifyServiceImpl extends ServiceImpl<YidianNotifyMapper, YidianNotify> implements YidianNotifyService {
    @Autowired
    private YidianNotifyMapper yidianNotifyMapper;

    public List<YidianNotify> listByOrderNumber(String  orderNumber) {
        return yidianNotifyMapper.selectList(new LambdaQueryWrapper<YidianNotify>().eq(YidianNotify::getClientorderno, orderNumber));
    }
}
